package com.yztc.xiami_app.ui.goodsdetail.model;

import com.yztc.xiami_app.bean.goodsdetails.GoodsDetailsBean;
import com.yztc.xiami_app.http.HttpUtils;

import rx.Observable;

/**
 * Created by 周旭 on 2016/11/19.
 * "商品详情"的Model层的实现类
 */

public class GoodsDetailsModelImpl implements IGoodsDetailsModel{
    //获取商品详情的数据
    @Override
    public Observable<GoodsDetailsBean> getGoodsDetailsBean(String productId,String baseUrl) {
        return HttpUtils.getGoodsDetailsData(productId,baseUrl);
    }
}
